-- GENERATED SPELL FOR [Frosthowl Screecher] --


function spell0_28170(pUnit, Event) --@Shadow Bolt,n/a--
pUnit:FullCastSpellOnTarget(52257,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_28170', 333, 1)
end

function Sorts_28170(pUnit, Event)
local choix_sorts_28170 = math.random(0, 0)
if choix_sorts_28170 == 0 then
pUnit:RegisterEvent('spell0_28170', 1, 1)
end
end

function mob28170_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_28170', math.random(1500, 3000), 1)
end

function mob28170_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28170_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28170_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(28170, 1, 'mob28170_Action')
RegisterUnitEvent(28170, 2, 'mob28170_Leave')
RegisterUnitEvent(28170, 3, 'mob28170_Kill')
RegisterUnitEvent(28170, 4, 'mob28170_Die')
